package com.borrowed.book.xxljob;

import com.xxl.job.core.context.XxlJobHelper;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

@Component
public class XxlBookJob {

    @XxlJob("helloWorldHandler")
    public void helloWordHandler() throws Exception{
        XxlJobHelper.log("XXL-JOB,hello World");
    }

}
